Skip to content

dirfd: preliminary unix and windows implementations #139514

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 15 commits into
base: master
Choose a base branch
from

Conversation

Qelxiros
Copy link
Contributor

@Qelxiros Qelxiros commented Apr 8, 2025

Tracking issue: #120426

As per this comment, this issue needs someone to start work on an implementation, so I've implemented a couple functions for UNIX. There's a lot more work to be done here (most of the feature), so I'd love some guidance on what needs fixing in this PR and any notes on how to proceed. Thanks!

try-job: x86_64-msvc*
try-job: test-various*
try-job: dist-various*

@rustbot
Copy link
Collaborator

rustbot commented Apr 8, 2025

r? @workingjubilee

rustbot has assigned @workingjubilee.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-libs Relevant to the library team, which will review and decide on the PR/issue. labels Apr 8, 2025
@rust-log-analyzer

This comment has been minimized.

@jieyouxu
Copy link
Member

r? libs

@rustbot rustbot assigned tgross35 and unassigned workingjubilee Apr 28, 2025
@rustbot rustbot added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels May 1, 2025
@bors
Copy link
Collaborator

bors commented May 3, 2025

☔ The latest upstream changes (presumably #140608) made this pull request unmergeable. Please resolve the merge conflicts.

@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@Qelxiros Qelxiros changed the title dirfd: initial quick and dirty implementation for unix dirfd: preliminary unix and windows implementations May 6, 2025
@Qelxiros Qelxiros requested review from Noratrieb and tgross35 May 6, 2025 04:28
@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels May 6, 2025
@Qelxiros
Copy link
Contributor Author

@tgross35 This has been waiting for a review for two weeks. Should I reroll another reviewer? I'm not sure what the process is here, but I don't want it to slip through the cracks. Is this PR mergeable in it's current state or is there something more I need to implement? Obviously there are more functions in the ACP, but I want to make sure I'm on the right track with what I have.

Copy link
Member

@ChrisDenton ChrisDenton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the delay, quite a lot of us were away for a week+. I can take an initial look at the Windows code.

@rustbot

This comment has been minimized.

@Qelxiros
Copy link
Contributor Author

All good on the delay, and thanks for the review! Those issues should be good now. As a side note to whoever does the next review, there have been a lot of changes on the unix side too since the last review.

@Qelxiros
Copy link
Contributor Author

Qelxiros commented Jun 7, 2025

@tgross35 are you able to review this?

@rust-bors
Copy link

rust-bors bot commented Jun 21, 2025

⌛ Trying commit 24568f9 with merge e4c28d7

To cancel the try build, run the command @bors2 try cancel.

rust-bors bot added a commit that referenced this pull request Jun 21, 2025
dirfd: preliminary unix and windows implementations

Tracking issue: #120426

As per [this comment](#120426 (comment)), this issue needs someone to start work on an implementation, so I've implemented a couple functions for UNIX. There's a lot more work to be done here (most of the feature), so I'd love some guidance on what needs fixing in this PR and any notes on how to proceed. Thanks!

try-job: `x86_64-msvc*`
try-job: `test-various*`
try-job: `dist-various*`
@rust-bors
Copy link

rust-bors bot commented Jun 21, 2025

💔 Test failed

@rust-log-analyzer

This comment has been minimized.

@tgross35
Copy link
Contributor

@bors2 try

@rust-bors
Copy link

rust-bors bot commented Jun 22, 2025

⌛ Trying commit 3deaa18 with merge ca0fcaf

To cancel the try build, run the command @bors2 try cancel.

rust-bors bot added a commit that referenced this pull request Jun 22, 2025
dirfd: preliminary unix and windows implementations

Tracking issue: #120426

As per [this comment](#120426 (comment)), this issue needs someone to start work on an implementation, so I've implemented a couple functions for UNIX. There's a lot more work to be done here (most of the feature), so I'd love some guidance on what needs fixing in this PR and any notes on how to proceed. Thanks!

try-job: `x86_64-msvc*`
try-job: `test-various*`
try-job: `dist-various*`
@rust-bors
Copy link

rust-bors bot commented Jun 22, 2025

💔 Test failed

@tgross35
Copy link
Contributor

So you can start the tests yourself:
@bors2 delegate=try

Until CI passes:

@rustbot author

@rust-bors
Copy link

rust-bors bot commented Jun 23, 2025

@Qelxiros can now perform try builds on this pull request

@rustbot rustbot added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jun 23, 2025
@rustbot
Copy link
Collaborator

rustbot commented Jun 23, 2025

Reminder, once the PR becomes ready for a review, use @rustbot ready.

@Qelxiros
Copy link
Contributor Author

@bors2 try

@rust-bors
Copy link

rust-bors bot commented Jun 23, 2025

⌛ Trying commit 299559d with merge f789341

To cancel the try build, run the command @bors2 try cancel.

rust-bors bot added a commit that referenced this pull request Jun 23, 2025
dirfd: preliminary unix and windows implementations

Tracking issue: #120426

As per [this comment](#120426 (comment)), this issue needs someone to start work on an implementation, so I've implemented a couple functions for UNIX. There's a lot more work to be done here (most of the feature), so I'd love some guidance on what needs fixing in this PR and any notes on how to proceed. Thanks!

try-job: `x86_64-msvc*`
try-job: `test-various*`
try-job: `dist-various*`
@rust-bors
Copy link

rust-bors bot commented Jun 23, 2025

💔 Test failed

@tgross35
Copy link
Contributor

You should also be able to verify these locally with ./x check library/std --target <triple> so you can iterate quicker than CI

@rust-log-analyzer

This comment has been minimized.

@Qelxiros
Copy link
Contributor Author

@bors2 try

rust-bors bot added a commit that referenced this pull request Jun 23, 2025
dirfd: preliminary unix and windows implementations

Tracking issue: #120426

As per [this comment](#120426 (comment)), this issue needs someone to start work on an implementation, so I've implemented a couple functions for UNIX. There's a lot more work to be done here (most of the feature), so I'd love some guidance on what needs fixing in this PR and any notes on how to proceed. Thanks!

try-job: `x86_64-msvc*`
try-job: `test-various*`
try-job: `dist-various*`
@rust-bors
Copy link

rust-bors bot commented Jun 23, 2025

⌛ Trying commit 772df42 with merge 5529983

To cancel the try build, run the command @bors2 try cancel.

@rust-bors
Copy link

rust-bors bot commented Jun 23, 2025

💔 Test failed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-libs Relevant to the library team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants